﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;

namespace mvc3App.DataStore.Entities
{
    public class Occasion
    {
        public string Name { get; set; }
        public Guid OccasionID { get; set; }
        public Guid UserID { get; set; }
        public List<OneDrink> DrinkList { get; set; }
        public DateTime DateTime { get; set; }

        public Occasion() { }

        public Occasion(OccasionEntity entity, List<OneDrink> onedrinkList)
        {
            OccasionID = entity.OccasionId;
            DateTime = entity.DateTime;
            UserID = entity.UserID;
            Name = entity.Name;
            DrinkList = onedrinkList;
        }
    }
}